#!/bin/bash
#USAGE: ./insert <user id> <bike number>

if [ -z $1 ] || [ -z $2 ] 
  then
	echo "Usage: ./insert <user id> <bike number>"
	exit
fi 

sqlite3 history.db "insert into history values ("$1","$2",datetime('now'));"

